package org.zephyr.struct.adapter.ex;

/**
 * 电能适配器
 */
public class ElectricAdapter implements Motor{

    private ElectricMotor electricMotor;

    public ElectricAdapter(){
        electricMotor=new ElectricMotor();
    }
    @Override
    public void drive() {
        electricMotor.electricDrive();
    }
}
